from PIL import Image
import numpy as np


img = np.load("/home/qq/graspnet/dataset/Images/01.npy")
# img = Image.open("/home/qq/graspnet/dataset/Images/01.npy")
img = Image.fromarray(img)

# img = Image.open("/home/qq/graspnet_dataset/t265_image_saver/new/img_new/dataset(rgb&depth)/img_rgb_0000.PNG").convert("RGB")
# img = np.array(img)
print(type(img))